package com.jy.adscm.hcPlan.mapper.mysql;

import com.jy.adscm.hcPlan.bean.HcPlanMakePart;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.jy.adscm.hcPlan.bean.support.HcPlanMakePartExampleSopport;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.cache.annotation.EnableCaching;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 零件制造标准配置 Mapper 接口
 * </p>
 *
 * @author yyy
 * @since 2018-08-13
 */
@Mapper
public interface HcPlanMakePartMapper extends BaseMapper<HcPlanMakePart> {

    /**
     * 获取生产的时间
     * @return
     */
    @Select("SELECT cycle_time FROM hc_plan_production_time")
    public Integer getProductionTime();


    public List<HcPlanMakePartExampleSopport> getFinalPartExample(@Param("mergeId") String mergeId);

//    @Select("SELECT PERSONID,PERSONNAME FROM userset WHERE ORGID = '006'")
//    public List<Map<String,Object>> getAllMakeUser();
}
